﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="rkp_crosstab_unit_excel.aspx.cs" Inherits="Shuba.Web.master.rkp_crosstab_unit_excel" %>
<table border=0>
	<tr>
		<td colspan="7"><b>MONTHLY REKAP PROSPECT PER UNIT</b></td>
    </tr>
	<tr>
		<td colspan="7">&nbsp;</td>
    </tr>
	<tr>
		<td><b>UNIT CODE</b></td>
		<td colspan="6"><b>: <%=Request["unit_code"]%></b></td>
    </tr>
    <tr>
		<td><b>PERIOD</b></td>
		<td colspan="6"><b>: <%=Convert.ToDateTime(Request["year"] + "-" + Request["month"] + "-01").ToString("MMMM") + ", " + Request["year"]%></b></td>
	</tr>
	<tr>
		<td colspan="7">&nbsp;</td>
    </tr>
</table>
		<asp:Repeater ID="rep1" runat="server">
			<HeaderTemplate>
				<table border=1>
					<tr>
						<td bgcolor="#b4b4b4"><b>ITEM</b></td>
						<td bgcolor="#b4b4b4"><b>CURRENT</b></td>
						<td bgcolor="#b4b4b4"><b>1 Mo Before</b></td>
						<td bgcolor="#b4b4b4"><b>2 Mo Before</b></td>
						<td bgcolor="#b4b4b4"><b>3 Mo Before</b></td>
						<td bgcolor="#b4b4b4"><b>>3 Mo Before</b></td>
						<td bgcolor="#b4b4b4"><b>TOTAL</b></td>
					</tr>
			</HeaderTemplate>
			<ItemTemplate>
					<tr>
						<td><%# Eval("MS_STD_NAME")%></td>
						<td><%# Eval("TTL_1", "{0:N0}")%></td>
						<td><%# Eval("TTL_M_1", "{0:N0}")%></td>
						<td><%# Eval("TTL_M_2", "{0:N0}")%></td>
						<td><%# Eval("TTL_M_3", "{0:N0}")%></td>
						<td><%# Eval("TTL_M_4", "{0:N0}")%></td>
						<td><%# Eval("TOTAL", "{0:N0}")%></td>
					</tr>
			</ItemTemplate>
			<FooterTemplate>
				</table>
			</FooterTemplate>
		</asp:Repeater>
